package com.icez.banner_view

import android.util.Log
import android.view.View
import androidx.viewpager2.widget.ViewPager2
import kotlin.math.abs

class LeftRightSpacePageTransformer(val mAlphaScaleRatio:Float) : ViewPager2.PageTransformer {

    override fun transformPage(page: View, position: Float) {
        page.scaleX = mAlphaScaleRatio
        page.scaleY = mAlphaScaleRatio

    }
}